package com.yudean.esb.mapper.mds;

import com.yudean.esb.domain.mds.MdsGlFlexValues;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Mapper
@Transactional
public interface MdsGlFlexValuesMapper {

    List<MdsGlFlexValues> getAllMdsGlFlexValues(@Param(value = "rowStart") int rowStart, @Param(value = "rowEnd") int rowEnd);

    int getAllMdsGlFlexValuesCount();

    List<MdsGlFlexValues> getAllGLFlexValuesByUsedCompsAndFlexValueSetName(@Param(value = "usedComps") String usedComps, @Param(value = "flexValueSetName") String flexValueSetName, @Param(value = "rowStart") int rowStart, @Param(value = "rowEnd") int rowEnd);

    int getAllGLFlexValuesCountByUsedCompsAndFlexValueSetName(@Param(value = "usedComps") String usedComps, @Param(value = "flexValueSetName") String flexValueSetName);
}
